package testng;


import org.testng.annotations.Test;

/**
 * @author      : yang.xp
 * @date        : 2021/12/2 12:18
 * @description : //原文出自【易百教程】，商业转载请联系作者获得授权，非商业请保留原文链接：https://www.yiibai.com/testng/configuration-annotations.html
 */
public class DomainTestNg {
    @Test
    public void printTest() {
        System.out.println("test");
    }

    @Test
    public void runOtherTest1() {
        System.out.println("@Test - runOtherTest1");
    }

    @Test
    public void runOtherTest2() {
        System.out.println("@Test - runOtherTest2");
    }

    @Test
    public void testName() {
        System.out.println("test1 testname begin...");
        try {
            Thread.sleep(5000);
        } catch (InterruptedException e) {
            e.printStackTrace();
        }
        System.out.println("test1 testname over...");
    }


}
